<template>
  <PageContainer :title="title" sub-title="page sub-title" />
</template>

<script>
    import { PageContainer } from '@ant-design-vue/pro-layout'
    import { useRoute } from 'vue-router'
    import { defineComponent } from 'vue'

    export default defineComponent({
        components: { PageContainer },
        setup() {
            const route = useRoute()
            const title = route.meta.title
            return {
                title
            }
        }
    })

</script>
